package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecPlan;
import com.onedec.designer.entity.OnedecPlanExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecPlanMapper {
    long countByExample(OnedecPlanExample example);

    int deleteByExample(OnedecPlanExample example);

    int deleteByPrimaryKey(Integer planId);

    int insert(OnedecPlan record);

    int insertSelective(OnedecPlan record);

    List<OnedecPlan> selectByExample(OnedecPlanExample example);

    OnedecPlan selectByPrimaryKey(Integer planId);

    int updateByExampleSelective(@Param("record") OnedecPlan record, @Param("example") OnedecPlanExample example);

    int updateByExample(@Param("record") OnedecPlan record, @Param("example") OnedecPlanExample example);

    int updateByPrimaryKeySelective(OnedecPlan record);

    int updateByPrimaryKey(OnedecPlan record);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);
}